export XRDDMSYS=$1
if [ -z "$XRDDMSYS" ]; then
  export XRDDMSYS=`pwd`
fi

if [ -z "$APPMON_DIR" ]; then
  export APPMON_DIR=$XRDDMSYS
fi

if [ -z "$AAF_DIR" ];then
  export AAF_DIR=`cd $XRDDMSYS/../; pwd`
fi

#if [ -z "$ROOTSYS" ];then
#  export ROOTSYS=$AAF_DIR/root
#fi

export PATH="$XRDDMSYS/bin:$PATH"
export LD_LIBRARY_PATH="$XRDDMSYS/lib:$XRDDMSYS/lib64:$LD_LIBRARY_PATH"

export X509_CERT_DIR="$XRDDMSYS/share/certificates/"
export GCLIENT_SERVER_LIST="pcapiserv04.cern.ch:10000|pcapiserv07.cern.ch:10000|"

export XRDDM_DEBUG=""
export XRDDM_OPTIONS="-a -s aliengr,alien,aliencp"
